package com.hkts.naturalgas.base.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hkts.naturalgas.base.entity.Ozone;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hkts.naturalgas.model.ResultData;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yck
 * @since 2021-05-31
 */
public interface IOzoneService extends IService<Ozone> {

    /**
     * 分页查询
     *
     * @param bootStrapTable
     * @param ozone
     * @return
     */
    IPage<Ozone> selectPage(Page<Ozone> page, Ozone ozone);

    List<Ozone> selectList(Ozone ozone);

    IPage<Ozone> selectPageByTime(Page<Ozone> page, String startDate, String endDate);

    IPage<Ozone> getBrokenLineGraph(Page<Ozone> page, String startDate, String endDate);

    void deleteAll();

    List<Ozone> selectListBytime();
}